﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;

namespace Readify.Management.Automation.GoGrid
{
    [global::System.Serializable]
    public class GoGridException : Exception
    {
        public GoGridException() { }
        public GoGridException(string message) : base(message) { }
        public GoGridException(string message, Exception inner) : base(message, inner) { }
        protected GoGridException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { }

        public string Url { get; set; }
        public XmlDocument ErrorDocument { get; set; }
        public GoGridError[] Errors { get; set; }
    }
}
